<%@include
    file="/WEB-INF/jsp/taglibs/taglibs.jsp"
%>
<stripes:layout-render name="/WEB-INF/jsp/layouts/menu.jsp" title="Start tumblr">
<stripes:layout-component name="body">
    <stripes:messages />

    <stripes:form name="inputTumblr" beanclass="com.objecteffects.template.web.action.TumblrResponseUrlActionBean">
        <p>
            <stripes:errors />
        </p>

        <!-- only one action for now, posts -->

        6100 / 3800
        <p>
            <stripes:label for="startingOffset">
                Offset:
            </stripes:label>
            <stripes:text
                name="startingOffset"
            />
        </p>

        <p>
            <stripes:label for="batchSize">
                Batch size:
            </stripes:label>
            <stripes:select name="batchSize">
y                <stripes:options-collection
                    collection="${actionBean.batchSizes}"
                />
            </stripes:select>
        </p>

        <p class="select">
            <stripes:label for="method">
                Tumblr method:
            </stripes:label>
            <stripes:select name="method" value="posts" size="1">
                <stripes:option value="">
                    Select a method
                </stripes:option>
                <stripes:options-collection
                    collection="${actionBean.methods}"
                />
            </stripes:select>
        </p>

        <p class="buttons">
            <stripes:submit
                name="proceed"
                value="Proceed"
            />
            <stripes:submit
                name="cancel"
                value="Cancel"
            />
        </p>
    </stripes:form>
</stripes:layout-component>
</stripes:layout-render>
